QuickTime 3 For Windows Programmers

| Previous | Chapter Contents | Chapter Top |

NativePathNameToFSSpec

The NativePathNameToFSSpec function, given a native pathname, returns an FSSpec for that file.

OSErr NativePathNameToFSSpec(char *inName, FSSpec *outFile, long flags);
inName
Contains a pointer to the native pathname.

outFile
Contains a pointer to FSSpec .

flags
Contains flags that control the conversion.

DISCUSSION

Given a C string pathname from the operating system, this routine updates FSSpec theFile to describe the same file. There are no flags currently defined, so you should pass 0. If the file does not currently exist, the error fnfErr is returned, but the resulting FSSpec is still valid for creating the file.


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top |